package cn.ibizlab.core.authentication.constants;

public class AuthenticationConstant {

    public static final String PASSWORD_STORAGE_MODE_SM3 = "sm3";
    public static final String PASSWORD_ENCRYPT_MODE_STATE = "state";
    public static final String PERSON_STATE_LOCKED = "2";
    public static final String PROVIDER_OAUTH2 = "oauth2";
    public static final String PROVIDER_API = "api";
    public static final String PROVIDER_LDAP = "ldap";
    public static final String PROVIDER_LDAP_DEFAULT_PROVIDER_ID = "defaultConfig";
    public static final String PROVIDER_LDAP_PARAM_BASE = "ldap.base";
    public static final String PROVIDER_LDAP_PARAM_USERNAME = "ldap.username";
    public static final String PROVIDER_LDAP_PARAM_PASSWORD = "ldap.password";
    public static final String PROVIDER_LDAP_PARAM_UID = "ldap.uid";
    public static final String PROVIDER_LDAP_PARAM_OU_BASE = "ldap.ouBase";
    public static final String PROVIDER_LDAP_PARAM_OBJECT_CLASS = "ldap.objectClass";
    public static final String REGISTER_EMPLOYEE_NUMBER = "srfemployeenumber";
    //public static final String LOGIN_AUTHENTICATION_REDIRECT_URI = "srfappredirecturi";
    public static final String PERSON_MEMBER_TYPE = "srfpersonmembertype";
    public static final String MEMBER_TYPE_PERSON = "inetOrgPerson";
    public static final String MEMBER_TYPE_ORGANIZATIONAL_ROLE = "organizationalRole";
    public static final String LOGIN_CAPTCHA_TYPE_DIGITS = "digits";
    public static final String LOGIN_TYPE_MOBILE = "mobile";
    public static final String LOGIN_TYPE_MIXED = "mixed";
    public static final String PROVIDER_SOCIAL_WECHAT = "WECHAT_OPEN";
    public static final String PROVIDER_SOCIAL_WECHAT_PARAM_UNIONID = "unionid";
    public static final String PROVIDER_SOCIAL_TYPE = "srfsocialtype";
    public static final String DATETIME_FORMAT_YYYYMMDDHHMMSS = "yyyy-MM-dd HH:mm:ss";

    private AuthenticationConstant() {

    }
}
